lambda variable

英 [ˈlæmdə ˈveəriəbl] 美 [ˈlæmdə ˈveriəbl]

网络  λ变量

计算机



双语例句

  1. If capture of mutable locals were allowed, the platform would need to extend the local variable's lifetime for as long as the dynamic lifetime of any lambda expression that captures it.
    如果允许捕获易变局部变量,该平台将需要将局部变量的生命周期延长到任何捕获它的lambda表达式的动态生命周期。
  2. Lambda functions ( or "anonymous functions," as they are often referred to) are simply throwaway functions that can be defined at any time and are typically bound to a variable.
    Lambda函数(或者通常所谓的“匿名函数”)是可以随时定义的简单抛弃型函数,并且通常都与变量绑定。
  3. But lambda expressions are treated as values and can therefore be stored in a variable and executed after the block in which the captured variable was declared has gone out of scope.
    但是,lambda表达式被视为值,因此可存储在变量中并在将捕获的变量声明为超出范围的代码块执行之后执行。